package com.miaomiao.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miaomiao.domain.system.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {

    public List<Boolean> getRoleStatusByUserId(Long userId);
    public List<Role> getUserRoles(Long userId);

    public Long getRoleIdByRoleKeyLong(String roleKey);

}
